//
//  RootViewController.m
//  ProductDetail
//
//  Created by Adiljan on 2016/10/27.
//  Copyright © 2016年 Adiljan. All rights reserved.
//

#import "RootViewController.h"
#import "DetailTableViewController.h"
#import "AViewController.h"

@interface RootViewController ()

@end

@implementation RootViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}
- (IBAction)btnClick:(id)sender {
    DetailTableViewController *detail = [[DetailTableViewController alloc]init];
    [self.navigationController pushViewController:detail animated:YES];
    
//    AViewController *detail = [[AViewController alloc]init];
//    [self.navigationController pushViewController:detail animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
